import layout from '@/layout'
export default {
  path: '/system',
  component: layout,
  meta: { title: "系统设置", icon: "dashboard" },
  name: "system",
  redirect: '/system_menu',
  children: [
    {
      path: "/system_menu",
      component: () => import('@/views/system/menu/index.vue'),
      name: "sys_menu",
      meta: { title: "菜单管理", icon: "dashboard" }
    },
    {
      path: "/system_role",
      component: () => import('@/views/system/role/index.vue'),
      name: "sys_menu",
      meta: { title: "角色管理", icon: "dashboard" }
    },
    {
      path: "/system_user",
      component: () => import('@/views/system/user/index.vue'),
      name: "sys_user",
      meta: { title: "用户管理", icon: "dashboard" }
    },
    {
      path: "/system_dict",
      component: () => import('@/views/system/dict/index.vue'),
      name: "sys_dict",
      meta: { title: "字典管理", icon: "dashboard" },
      hidden: true
    },
    {
      path: "/sys_generator",
      component: () => import('@/views/system/generator/index.vue'),
      name: "sys_generator",
      meta: { title: "代码生成器", icon: "dashboard" },
      hidden: true
    },
    {
      path: "/system_config",
      component: () => import('@/views/system/config/index.vue'),
      name: "sys_config",
      meta: { title: "系统配置", icon: "dashboard" }
    }
  ]
}